package fdb

import javax.xml.soap.Text

class ORG_PROFILE {
    int orgCode
    String remark
    String fax
    String email
    Date declareDate
    String sectryFax
    String cName
    String csName
    String cSpell
    String eName
    String esName
    String regiCap
    int curncy
    String regiAddr
    String officeAddr
    String webSite
    String postcode
    String legPerson
    String genManager
    String districtNo
    String tel
    String contactPerson
  //  void label005
    String boardSectry
    String repr
    String sectryTel
    String contactAddr
    String sectryEmail
   // void label006
    String reprTel
    String reprFax
    String reprAddr
    String reprEmail
    long briefIntro
    long priBiz
    long nonPriBiz
    int staFFNum
    int mstaffNum
    int tstaffNum
    String disclPaper
    String disclWebsite
    Date buildDate
    Date closeDate
    String closeReason
    int orgStatus
    String regtNo
    String ntaxNo
    String ltaxNo
    String listed
    String issueBond
    String nation
    String region
    String orgStype
    String orgMtype
    int orgForm
    int montherCode
    int topCode
    int parentCode
    String layerCode
    String montherName
    String topName
    String parentName
    String serviceTel
    String province
    String city
    int regionCode


    static constraints = {
        remark nullable: true, maxSize: 400
        fax nullable: true, maxSize: 60
        email nullable: true, maxSize: 50
        declareDate nullable: true
        sectryFax nullable: true, maxSize: 60
        cName nullable: true, maxSize: 200
        csName nullable: true, maxSize: 20
        cSpell nullable: true, maxSize: 20
        eName nullable: true, maxSize: 200
        esName nullable: true, maxSize: 50
        regiCap nullable: true, size: 4..18
        curncy nullable: true
        regiAddr nullable: true, maxSize: 200
        officeAddr nullable: true, maxSize: 200
        webSite nullable: true, maxSize: 100
        postcode nullable: true, maxSize: 20
        legPerson nullable: true, maxSize: 40
        genManager nullable: true, maxSize: 40
        districtNo nullable: true, maxSize: 10
        tel nullable: true, maxSize: 60
        contactPerson nullable: true, maxSize: 60
      //  label005 nullable: true
        boardSectry nullable: true, maxSize: 40
        repr nullable: true, maxSize: 60
        sectryTel nullable: true, maxSize: 60
        contactAddr nullable: true, maxSize: 200
        sectryEmail nullable: true, maxSize: 50
      //  label006 nullable: true
        reprTel nullable: true, maxSize: 60
        reprFax nullable: true, maxSize: 60
        reprAddr nullable: true, maxSize: 200
        reprEmail nullable: true, maxSize: 50
        briefIntro nullable: true
        priBiz nullable: true
        nonPriBiz nullable: true
        staFFNum nullable: true
        mstaffNum nullable: true
        tstaffNum nullable: true
        disclPaper nullable: true, maxSize: 100
        disclWebsite nullable: true, maxSize: 100
        buildDate nullable: true
        closeDate nullable: true
        closeReason nullable: true, maxSize: 400
        orgStatus nullable: true
        regtNo nullable: true, maxSize: 50
        ntaxNo nullable: true, maxSize: 50
        ltaxNo nullable: true, maxSize: 50
        listed nullable: true, maxSize: 30
        issueBond nullable: true, maxSize: 30
        nation nullable: true, maxSize: 8
        region nullable: true, maxSize: 3
        orgStype nullable: true, maxSize: 6
        orgMtype nullable: true, maxSize: 9
        orgForm nullable: true
        montherCode nullable: true
        topCode nullable: true
        parentCode nullable: true
        layerCode nullable: true, maxSize: 18
        montherName nullable: true, maxSize: 100
        topName nullable: true, maxSize: 100
        parentName nullable: true, maxSize: 60
        serviceTel nullable: true, maxSize: 20
        province nullable: true, maxSize: 30
        city nullable: true
        regionCode nullable: true


    }
    static mapping = {
        id generator: 'assigned', name: "orgCode", column: "ORGCODE"

    }
}
